# Uncomment the next line to define a global platform for your project
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.0'

target 'Easepods' do
  
  inhibit_all_warnings!
  use_frameworks!
  
#  pod 'MoyoungLib' , :path => '../../moyoung/moyoung_develop_lib_ios', :inhibit_warnings => false
  pod 'MoyoungLib' , :git => 'git@codeup.aliyun.com:5f53a99c6207a1a8b17fadc3/moyoung-apps/moyoung_develop_lib_ios.git', :tag => '2.0.2'

  pod 'EarbudsFrameworks' , :path => '../EarbudsModules/EarbudsFrameworks'
  pod 'EarbudsCommon' , :path => '../EarbudsModules/EarbudsCommon'
  pod 'EarbudsFunctions' , :path => '../EarbudsModules/EarbudsFunctions'
  pod 'EarbudsDatabase' , :path => '../EarbudsModules/EarbudsDatabase'
  pod 'RealmBrowser' , :path => '../EarbudsModules/RealmBrowser',  :configurations => ['Debug']

  pod "EachNavigationBar", :git => "https://github.com/yinqiong/EachNavigationBar.git"
  
  # FLEX
  pod 'FLEX', :configurations => ['Debug']
  #查看视图
  pod 'LookinServer', :configurations => ['Debug']

  # 布局
  pod 'SnapKit'
  pod 'JXSegmentedView'
  
  # 侧边栏控件
  pod 'SideMenu'
  
  # 弹窗
  pod 'SwiftEntryKit'
  
  pod 'Bugly'
  
  # Tools
  pod 'R.swift'  # https://github.com/mac-cain13/R.swift
  
  pod 'lottie-ios'
  
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 12.0
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
      end
    end
  end
end
